package com.example.project.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.project.api.dto.GoodInfoDTO;
import com.example.project.api.model.TbWin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: Jerry.Zhang
 * @date: 2022/9/22 14:23
 */
@Mapper
public interface TbWinMapper extends BaseMapper<TbWin> {

    List<GoodInfoDTO> getWinByIp(@Param("ip") String ip);

}